package com.lut.edu.apm.payCenter.services;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lut.edu.apm.payCenter.pojo.OrderDetail;

import java.util.List;
import java.util.Map;

public interface OrderDetailService extends IService<OrderDetail> {
    /**
     * 查询热点商品
     * @return
     */
    List<Map<String, Object>> queryHotSelling();

    /**
     * 统计热销类别
     * @return
     */
    List<Map<String, Object>> queryTypeCount();

    List<OrderDetail> queryOrderDetail(String orderId);
}
